package com.woniu.outlet.mysql.dao;

import com.woniu.outlet.mysql.po.PersonalIncomeMySQL;
import com.woniu.outlet.mysql.po.PersonalIncomeMySQLExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PersonalIncomeDao {
    long countByExample(PersonalIncomeMySQLExample example);

    int deleteByExample(PersonalIncomeMySQLExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PersonalIncomeMySQL record);

    int insertSelective(PersonalIncomeMySQL record);

    List<PersonalIncomeMySQL> selectByExample(PersonalIncomeMySQLExample example);

    PersonalIncomeMySQL selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PersonalIncomeMySQL record, @Param("example") PersonalIncomeMySQLExample example);

    int updateByExample(@Param("record") PersonalIncomeMySQL record, @Param("example") PersonalIncomeMySQLExample example);

    int updateByPrimaryKeySelective(PersonalIncomeMySQL record);

    int updateByPrimaryKey(PersonalIncomeMySQL record);
}